package com.yoso.db.mapper;

import com.yoso.db.common.bo.UserBo;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface UserMapper {

    List<UserBo> getAllUser();

    @Select("select * from t_user where user_code = #{userCode}")
    UserBo getByUserCode(@Param("userCode") String userCode);

    @Select("select 1 from dual")
    Integer tset();
}
